﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TUlingWpf.Models;

namespace TUlingWpf.Services
{
    public class UserSession : ObservableObject
    {
        private User _user = new User() { Name="操作员", Password="1", CreateTime = DateTime.Now, Level = 5 };

        public User CurrentUser
        {
            get { return _user; }
            set { SetProperty(ref _user, value); }
        }
    }
}